package com.slx.first_unique_character_in_a_string;

import org.junit.Assert;
import org.junit.Test;

public class Main {
    @Test
    public void test1() {
        Solution solution = new Solution();
        Assert.assertEquals(0, solution.firstUniqChar("leetcode"));
    }

    @Test
    public void test2() {
        Solution solution = new Solution();
        Assert.assertEquals(2, solution.firstUniqChar("loveleetcode"));
    }
}
